package com.isoft.student.dao;

import com.isoft.student.eo.LogonlogEOPage;
import com.isoft.student.model.Logonlog;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 操作数据库方法的对接
 */
@Mapper
public interface LogonlogMapper {
    //登录日志添加
    int insertLogonlog(Logonlog logonlog);
    //通过角色名称获取数量
    int getLoginaddressCount(String loginaddress);

    //根据人员信息主键获取是否存在信息
    int getPersonCount(Integer perid);
    //登录日志列表信息查询
    List<LogonlogEOPage> getLogonlogWhereAll(LogonlogEOPage logonlogEOPage);

}
